var express = require('express');
var router = express.Router();
let { UserModel } = require('../model/model_hdy');

/* GET home page. */
router.get('/show', async function (req, res, next) {
  var data = await UserModel.find();
  res.send({ code: 200, msg: '数据请求成功', data: data })
});

module.exports = router;
